package com.xd.oauth.controller;


import com.xd.auth.api.entity.OauthClientDetails;
import com.xd.auth.api.feign.OauthClientDetailsClient;
import com.xd.oauth.service.OauthClientDetailsService;
import com.xd.common.base.BaseController;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 储存客户端信息(OauthClientDetails)表控制层
 *
 * @author hbx
 * @since 2020-10-24 15:47:21
 */
@RestController
@RequestMapping("oauthClientDetails")
@Transactional(rollbackFor = Exception.class)
public class OauthClientDetailsController extends BaseController<OauthClientDetailsService, OauthClientDetails,String> implements OauthClientDetailsClient {

    @Resource
    private OauthClientDetailsService OauthClientDetailsService;

}
